
<div ng-app="person" ng-controller="updateEmployeeCtrl">
    <div class="button">
        <button type="button" class="btn btn-default" id="update" ng-click="updateBtn()">修改薪酬</button>
        <button type="button" class="btn btn-default" id="submit" ng-click="checkBtn()">复核薪酬</button>
        <button type="button" class="btn btn-default" id="clean" ng-click="deleteBtn()">删除薪酬</button>
        <button type="button" class="btn btn-default" id="back" ng-click="backBtn()">返回薪酬查询</button>

    </div>

    <form class="form-inline" >
        <div ng-repeat="employee in employeess">
            <!--S=所有机构-->
            <div class="form-group">
                <label for="first_org">一级机构</label>
                <input type="text" class="form-control" id="first_org"  disabled value={{employee.first_org}}>
            </div>

            <div class="form-group">
                <label for="second_org">二级机构</label>
                <input type="text" class="form-control" id="second_org"  disabled value={{employee.second_org}}>
            </div>

            <div class="form-group">
                <label for="third_org">三级机构</label>
                <input type="text" class="form-control" id="third_org" disabled value={{employee.third_org}}>
            </div>
            <!--S=所有机构-->





        <!--S=所有职称名-->

        <div class="form-group">
            <label for="position_type">职位分类</label>
            <input type="text" class="form-control" id="position_type" disabled value={{employee.position_type}}>

        </div>
        <div class="form-group">
            <label for="position_name">职位名称</label>
            <input type="text" class="form-control" id="position_name" disabled value={{employee.position_name}}>


        </div>
        <div class="form-group">
            <label for="position_title">职位称呼</label>
            <input type="text" class="form-control" id="position_title" disabled value={{employee.position_title}}>

        </div>
        <!--S=所有职称名-->


        <!--S=姓名、年龄、性别、EMAIL、电话、QQ、手机电话-->
        <div class="form-group">
            <label for="name">姓名</label>
            <input type="text"  class="form-control" id='name' ng-change="nameChange()" ng-model="name" />
            <p id='nameChange' style="display: none"> {{name}} </p>
        </div>
        <div class="form-group">
            <label for="age">年龄</label>
            <input type="text"  class="form-control" id='age' ng-change="ageChange()" ng-model="age" />
            <p id='ageChange' style="display: none"> {{age}} </p>
            <!--<input type="text" class="form-control" id="age" value={{employee.age}} >-->
        </div>
        <div class="form-group">
            <label for="sex">性别</label>
            <select class="form-control" id="sex"  value={{employee.sex}}>
                <option value="男">男</option>
                <option value="女">女</option>
            </select>
        </div>

        <div class="form-group">
            <label for="email">email</label>
            <input type="text" class="form-control" id="email" value={{employee.email}}>
        </div>
        <div class="form-group">
            <label for="phone">电话</label>
            <input type="text" class="form-control" id="phone" value={{employee.phone}}>
        </div>
        <div class="form-group">
            <label for="qq">QQ</label>
            <input type="text" class="form-control" id="qq" value={{employee.qq}}>
        </div>
        <div class="form-group">
            <label for="telephone">手机</label>
            <input type="text" class="form-control" id="telephone" value={{employee.telephone}}>
        </div>
        <!--E=姓名、性别、EMAIL、电话、QQ、手机-->

        <!--S=住址、邮政编码-->
        <div class="form-group">
            <label for="address">地址</label>
            <input type="text" class="form-control" id="address" value={{employee.address}}>
        </div>
        <div class="form-group">
            <label for="postCode">邮政编码</label>
            <input type="text" class="form-control" id="postCode" value={{employee.postCode}}>
        </div>
        <!--E=住址、邮箱-->


        <!--S=国籍、出生地、生日日期、民族、宗教信仰、政治面貌、身份证号码、社会保障号码-->
        <div class="form-group">
            <label for="nationality">国籍</label>
            <input type="text" class="form-control" id="nationality" value={{employee.nationality}}" >
        </div>
        <div class="form-group">
            <label for="birthPlace">出生地</label>
            <input type="text" class="form-control" id="birthPlace"  value={{employee.nationality}}">
        </div>
        <div class="form-group">
            <label for="birthday">生日日期</label>
            <input type="date" class="form-control" id="birthday" value="{{employee.birthday}}">
        </div>
        <div class="form-group">
            <label for="nation ">民族</label>
            <select class="form-control" id="nation " value={{employee.nation}}" >
                <option value="汉族">汉族</option>
                <option value="蒙古族">蒙古族</option>
                <option value="回族">回族</option>
                <option value="藏族">藏族</option>
                <option value="维吾尔族">维吾尔族</option>
            </select>
        </div>
        <div class="form-group">
            <label for="faith">宗教信仰</label>
            <input type="text" class="form-control" id="faith" value={{employee.faith}}">
        </div>
        <div class="form-group">
            <label for="politicalStatus">政治面貌</label>
            <input type="text" class="form-control" id="politicalStatus" value={{employee.politicalStatus}}">
        </div>
        <div class="form-group">
            <label for="idcard">身份证</label>
            <input type="text" class="form-control" id="idcard" value={{employee.idcard}}>
        </div>
        <div class="form-group">
            <label for="soSeNum">社会号码</label>
            <input type="text" class="form-control" id="soSeNum" value={{employee.soSeNum}}>
        </div>
        <!--E=国籍、出生地、生日、民族、宗教信仰、政治面貌、身份证号码、社会保障号码-->


        <!--S=教育背景、专业、银行卡、帐号-->
        <div class="form-group">
            <label for="edubg ">教育背景</label>
            <select class="form-control" id="edubg " value={{employee.edubg}}>
                <option value="大学">大学</option>
                <option value="本科">本科</option>
                <option value="博士">博士</option>
                <option value="大专">大专</option>
                <option value="高中">高中</option>
            </select>
        </div>
        <div class="form-group">
            <label for="major">专业</label>
            <input type="text" class="form-control" id="major" value={{employee.major}}>
        </div>
        <div class="form-group">
            <label for="bank ">银行卡</label>
            <input type="text" class="form-control" id="bank " value={{employee.bank}}>
        </div>
        <div class="form-group">
            <label for="accountNumber ">账号 </label>
            <input type="text" class="form-control" id="accountNumber "  value={{employee.accountNumber}}>
        </div>
        <!--E=教育背景、专业、银行卡、帐号-->

        <!--S=爱好、履历、家庭关系、备注、职称、建档时间-->
        <div class="form-group">
            <label for="hobby">爱好</label>
            <input type="text" class="form-control" id="hobby"  value={{employee.hobby}}>
        </div>

        <div class="form-group">
            <label for="familyRelative ">家庭关系 </label>
            <input type="text" class="form-control" id="familyRelative " value={{employee.familyRelative}}>
        </div>

        <div class="form-group">
            <label for="creatTime">创建时间</label>
            <input type="text" disabled class="form-control" id="creatTime"  value="{{employee.creatTime | date:'yyyy-MM-dd HH:mm:ss' }}">
        </div>
        <div class="form-group">
            <label for="registrant">登记人</label>
            <input type="text" disabled class="form-control" id="registrant"  value={{employee.registrant}}>
        </div>

        <!--S=爱好、履历、家庭关系、备注、建档时间-->

            <div class="form-group">
                <label for="resume">履历</label>
                <input type="text"  class="form-control" id="resume"  value={{employee.resume}}>
            </div>
            <div class="form-group">
                <label for="remark">备注</label>
                <input type="text"  class="form-control" id="remark"  value={{employee.remark}}>
                    <!--<h1>你寫的是{{Remark}}</h1>-->
            </div>

        </div>
    </form>

</div>